package request;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
public class SysRoleRequest {


    @ApiModelProperty("角色id")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("角色名称")
    @TableField("role_name")
    private String roleName;

    @ApiModelProperty("角色权限字符串")
    @TableField("role_key")
    private String roleKey;

    @ApiModelProperty("角色状态（0正常1停用）")
    @TableField("status")
    private String status;

    @ApiModelProperty("删除标志（0代表存在2代表删除）")
    @TableField("del_flag")
    private String delFlag;

    @ApiModelProperty("创建者")
    @TableField("create_by")
    private String createBy;


    @ApiModelProperty("更新者")
    @TableField("update_by")
    private String updateBy;

}
